<!-- quote template -->
<html>
	<head>
		<title>Quote [<?php echo $this->quoteName; ?>]</title>
		<?php echo $this->headLink()->appendStylesheet($this->websiteUrl . '/system/css/seotoaster.css'); ?>
	</head>
	<body>
		<div id="quotemain">
			<div id="quotemainwrap">
				<div id="tophead">
					<div id="companyinfo">
						<?php echo $this->shoppingConfigData['company']; ?><br/>
						<?php echo $this->shoppingConfigData['email']; ?><br/>
					</div>
					<div id="clientinfo">
						<?php echo $this->userName; ?><br/>
						<?php echo $this->userEmail; ?>
					</div>
				</div>
				<div id="quotebody">
					<div id="quotetitle">
						<h1>Quote [<?php echo $this->quoteName; ?>] preview</h1>
					</div>
					<div id="usercart-legend">
						<div>{%Photo%}</div>
						<div>{%Product%}</div>
						<div>{%Note%}</div>
						<div>{%Qty%}</div>
						<div>{%Price%}</div>
					</div>
					<div id="quoteusercart">
						<?php if(!empty($this->cartData)): ?>
							<?php foreach ($this->cartData as $id => $cartItem): ?>
								<div class="usercart-item-product">
									<div><img src="<?php echo $this->websiteUrl . $cartItem['photo']; ?>" width="50" height="50" alt="<?php echo $cartItem['name']; ?>"/></div>
									<div><?php echo $cartItem['name']; ?></div>
									<div><?php echo $cartItem['note']; ?></div>
									<div><?php echo $cartItem['count']; ?></div>
									<div><?php echo $cartItem['price']; ?></div>
								</div>
							<?php endforeach; ?>
						<?php endif; ?>
					</div>
					<div id="total">
						{%Total price%}: <?php echo $this->totalPrice; ?>
					</div>
				</div>
				<div id="quotefooter">
					<a href="#">Print as pdf</a>
				</div>
			</div>
		</div>
	</body>
</html>